package com.wormpex.data.root.webapp.controllers;

import com.alibaba.dubbo.config.annotation.Service;
import com.wormpex.data.root.service.FailedTransmitMessageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * Created by ouryousa on 2017/8/18.
 */

@RestController
@RequestMapping("/failedtransmitmessage")
public class FailedTransmitMessageProcess {

//    @Autowired
//    FailedTransmitMessageService failedTransmitMessageServiceImpl;
//
//    @RequestMapping(value = "/rerun", method = RequestMethod.GET)
//    public boolean rerun( @RequestParam(value = "msgId", required = true) Long msgId) {
//        return failedTransmitMessageServiceImpl.rerunMsg(msgId);
//    }
}
